package commands;
import org.eclipse.core.commands.AbstractHandler;
import org.eclipse.core.commands.ExecutionEvent;

import control.ComponentProvider;
import factory.components.RoadTruck;

public class AddRoadTruck extends AbstractHandler {

	@Override
	public Object execute(ExecutionEvent event) {
		RoadTruck rTruck = new RoadTruck();
		ComponentProvider.INSTANCE.setComponent(rTruck);
		return null;
	}

}
